{% extends "base.html" %}
{% load i18n %}
{% block head-css-ext %}
    <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/forms.css" media="screen" />
    <!--[if IE]><link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/ie.css" /><![endif]-->
    <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/layout.css" />
{% endblock %}
{% block content-box1 %}
    <form method="post" action=".">{% csrf_token %}
        {% if form.non_field_errors %}
            <div class="error">{{ form.non_field_errors|join:", " }}</div>
            <br><br>
        {% endif %}
        <table>
            <tr>       
                <td><label for="id_username">Usuario:</label>{% if form.username.errors %}<div class="error">{{ form.username.errors|join:", " }}</div>{% endif %}</td>
                <td>{{ form.username }}</td>
            </tr>
            <tr>        
                <td><label for="id_password">Password:</label>{% if form.password.errors %}<div class="error">{{ form.password.errors|join:", " }}</div>{% endif %}</td>
                <td>{{ form.password }}</td>
            </tr>
        </table>
        <br />
        <input type="submit" value="{% trans 'Log in' %}" />
        <input type="hidden" name="next" value="{{ next }}" />    
    </form>
    <table>
        <tr>
            <td>No es miembro :</td>
            <td><a href="{% url registration_register %}">Registarse</a></td>
        </tr>
        <br>
        <tr>
            <td>Olvido su Password :</td>
            <td><a href="{% url auth_password_reset %}">Recuperar Password</a></td>
        </tr>
    </table>
{% endblock %}
{% block content-colum2 %}{% endblock %}